package com.lczyfz.istep.modules.openstack.api.neutron.model.firewall;
/**
 * 防火墙规则实体类
 * @author clq
 *
 */
public class FireWallRule {
	/**
	 * 与防火墙规则匹配的流量执行的操作。有效值为allow或deny。
	 */
	private String Action;
	/**
	 * 防火墙规则的目标IPv4或IPv6地址或CIDR
	 */
	private String DestinationIpAddress;
	/**
	 * 防火墙规则的目标端口或端口范围,一个有效的值是一个端口号，
	 * 一个整数或一个端口范围，格式为一个:单独的范围。对于端口范围，包括范围的两端。例如，80:90
	 */
	private String DestinationPort;
	/**
	 * 设置为false在防火墙策略中禁用此规则
	 */
	private String Enabled;
	/**
	 * 防火墙策略的ID
	 */
	private String FirewallPolicyId;
	/**
	 * 防火墙规则的ID
	 */
	private String Id;
	/**
	 * 防火墙规则的IP协议版本
	 */
	private String IpVersion;
	/**
	 * 防火墙规则名称
	 */
	private String Name;
	/**
	 * 拥有该资源的项目的ID
	 */
	private String ProjectId;
	/**
	 * 防火墙规则的IP协议
	 */
	private String Protocol;
	/**
	 * 此防火墙规则是否在所有项目中共享
	 */
	private String Shared;
	/**
	 * 防火墙规则的源IPv4或IPv6地址或CIDR
	 */
	private String SourceIpAddress;
	/**
	 * 防火墙规则的源端口或端口范围
	 */
	private String SourcePort;
	/**
	 * 拥有该资源的租户的ID
	 */
	private String TenantId;
	
	public String getAction(){
		return Action;
	}
	
	public void setAction(String Action) {
		this.Action = Action;
	}
	
	public String getDestinationIpAddress(){
		return DestinationIpAddress;
	}
	
	public void setDestinationIpAddress(String DestinationIpAddress) {
		this.DestinationIpAddress = DestinationIpAddress;
	}
	
	public String getDestinationPort(){
		return DestinationPort;
	}
	
	public void setDestinationPort(String DestinationPort) {
		this.DestinationPort = DestinationPort;
	}
	
	public String getEnabled(){
		return Enabled;
	}
	
	public void setEnabled(String Enabled) {
		this.Enabled = Enabled;
	}
	
	public String getFirewallPolicyId(){
		return FirewallPolicyId;
	}
	
	public void setFirewallPolicyId(String FirewallPolicyId) {
		this.FirewallPolicyId = FirewallPolicyId;
	}
	
	public String getId(){
		return Id;
	}
	
	public void setId(String Id) {
		this.Id = Id;
	}
	
	public String getIpVersion(){
		return IpVersion;
	}
	
	public void setIpVersion(String IpVersion) {
		this.IpVersion = IpVersion;
	}
	
	public String getName(){
		return Name;
	}
	
	public void setName(String Name) {
		this.Name = Name;
	}
	
	public String getProjectId(){
		return ProjectId;
	}
	
	public void setProjectId(String ProjectId) {
		this.ProjectId = ProjectId;
	}
	
	public String getProtocol(){
		return Protocol;
	}
	
	public void setProtocol(String Protocol) {
		this.Protocol = Protocol;
	}
	
	public String getShared(){
		return Shared;
	}
	
	public void setShared(String Shared) {
		this.Shared = Shared;
	}
	
	public String getSourceIpAddress(){
		return SourceIpAddress;
	}
	
	public void setSourceIpAddress(String SourceIpAddress) {
		this.SourceIpAddress = SourceIpAddress;
	}
	
	public String getSourcePort(){
		return SourcePort;
	}
	
	public void setSourcePort(String SourcePort) {
		this.SourcePort = SourcePort;
	}
	
	public String getTenantId(){
		return TenantId;
	}
	
	public void setTenantId(String TenantId) {
		this.TenantId = TenantId;
	}

	@Override
	public String toString() {
		return "FireWallRule{" +
				"Action='" + Action + '\'' +
				", DestinationIpAddress='" + DestinationIpAddress + '\'' +
				", DestinationPort='" + DestinationPort + '\'' +
				", Enabled='" + Enabled + '\'' +
				", FirewallPolicyId='" + FirewallPolicyId + '\'' +
				", Id='" + Id + '\'' +
				", IpVersion='" + IpVersion + '\'' +
				", Name='" + Name + '\'' +
				", ProjectId='" + ProjectId + '\'' +
				", Protocol='" + Protocol + '\'' +
				", Shared='" + Shared + '\'' +
				", SourceIpAddress='" + SourceIpAddress + '\'' +
				", SourcePort='" + SourcePort + '\'' +
				", TenantId='" + TenantId + '\'' +
				'}';
	}
}
